package com.fypg.module.blooddonation.api.client.dal.bloodPlatform;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 献血者核查请求参数
 *
 * @author 盘古
 */
@Data
@Schema(description = "献血者核查请求参数")
public class DonorChkReq {

    /**
     * 证件类型
     * 请通过字典接口获取，dictionaryKey=BD_IDENTITY_TYPE
     */
    @Schema(description = "证件类型", example = "111")
    private Integer idType;

    /**
     * 血站编码
     * 调用方血站的机构编码
     */
    @Schema(description = "血站编码", example = "01301")
    private String orgId;

    /**
     * 证件号码
     */
    @Schema(description = "证件号码", example = "130205199304170012")
    private String idNum;

    /**
     * 查询日期
     * 精确到时分秒，格式：yyyy-MM-dd HH:mm:ss
     */
    @Schema(description = "查询日期", example = "2017-06-22 15:30:00")
    private String chkDate;

    /**
     * 献血类型
     * 0:全血 1:机采
     */
    @Schema(description = "献血类型：0-全血 1-机采", example = "0")
    private String donType;
}
